<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>rebey.cn 端午龙头</title>
    <meta name="description" content="Hello, World! - A-Frame">
    <!--<script src="js/aframe.js"></script>-->
    <script src="https://cdn.bootcss.com/aframe/0.5.0/aframe.min.js"></script>
    <script src="js/aframe-extras.loaders.min.js"></script>
  
  </head>
  <body>
    <a-scene>
      <a-assets>
        <a-asset-item id="myModelObj" src="che.obj"></a-asset-item>
        <a-asset-item id="myModelMtl" src="che.mtl"></a-asset-item>
        <!-- <a-asset-item id="myPlyModel" src="che.ply"></a-asset-item> -->
        <img id="skyTexture" src="image/sechelt.jpg">
      </a-assets>
      
	  <a-entity position="0 1.2 -5" scale="0.035 0.035 0.035" rotation="-10 -150 -15" obj-model="obj: #myModelObj; mtl: #myModelMtl">
	    <a-animation attribute="position" to="0 1.4 -5" direction="alternate" dur="2000" repeat="indefinite"></a-animation>
	    <a-animation attribute="rotation" begin="click" dur="7200" to="-10 570 -15" ></a-animation>
	  	
	  </a-entity>
	  <!-- <a-entity ply-model="src: #myPlyModel" position="0 1 -1" scale="0.01 0.01 0.01" rotation="-90 0 0"></a-entity> -->
	
	  <a-sky src="#skyTexture" ></a-sky>
	  
	  <a-text value="rebey.cn 端午节快乐！" color="#CCC" 
        position="-0.9 0.2 -3" scale="2 2 2"></a-text>
	  
	  <a-camera>
	    <a-cursor></a-cursor>
	  </a-camera>
	</a-scene>
  </body>
  
  <script>
  
  </script>	
</html>